home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / dev / src / GLperf3.12-src.lha / GLperf / TriFan.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-01  |  2.2 KB  |  67 lines

  1. /*
  2.  *   (C) COPYRIGHT International Business Machines Corp. 1993
  3.  *   All Rights Reserved
  4.  *   Licensed Materials - Property of IBM
  5.  *   US Government Users Restricted Rights - Use, duplication or
  6.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7.  
  8. //
  9. // Permission to use, copy, modify, and distribute this software and its
  10. // documentation for any purpose and without fee is hereby granted, provided
  11. // that the above copyright notice appear in all copies and that both that
  12. // copyright notice and this permission notice appear in supporting
  13. // documentation, and that the name of I.B.M. not be used in advertising
  14. // or publicity pertaining to distribution of the software without specific,
  15. // written prior permission. I.B.M. makes no representations about the
  16. // suitability of this software for any purpose.  It is provided "as is"
  17. // without express or implied warranty.
  18. //
  19. // I.B.M. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  20. // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL I.B.M.
  21. // BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  22. // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  23. // OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  24. // CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  25. //
  26. // Author:  John Spitzer, IBM AWS Graphics Systems (Austin)
  27. //
  28. */
  29.  
  30. #if (defined(INC_REASON)) && (INC_REASON == INFO_ITEM_STRUCT)
  31. #include "Polygonl.h"
  32. #elif (defined(INC_REASON)) && (INC_REASON == INFO_ITEM_ARRAY)
  33. #include "Polygonl.h"
  34.     {
  35.         0
  36.     }
  37. #else  /* INC_REASON not defined, treat as plain include */
  38. #ifndef _TriFan_h
  39. #define _TriFan_h
  40.  
  41. #include "Polygonl.h"
  42. #include "General.h"
  43. #include "TestName.h"
  44. #include "PropName.h"
  45. #include "Global.h"
  46. #include "AttrName.h"
  47. #ifdef WIN32
  48. #include <windows.h>
  49. #endif
  50. #include <GL/gl.h>
  51. #include <GL/glu.h>
  52. #include "Random.h"
  53.  
  54. typedef struct _TriangleFan {
  55. #define INC_REASON INFO_ITEM_STRUCT
  56. #include "TriFan.h"
  57. #undef INC_REASON
  58. } TriangleFan, *TriangleFanPtr;
  59.  
  60. TriangleFanPtr new_TriangleFan();
  61. void delete_TriangleFan(TestPtr);
  62. TestPtr TriangleFan__Copy(TestPtr);
  63. void TriangleFan__Layout(VertexPtr);
  64.  
  65. #endif /* file not already included */
  66. #endif /* INC_REASON not defined */
  67.